package com.kouxin.appaccount.appuser;

import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

public class AppuserSoftwareBalanceDao extends HibernateDaoSupport {

	public void insert(AppuserSoftwareBalance appuserSoftwareBalance) {
		this.getHibernateTemplate().save(appuserSoftwareBalance);
	}
	
	public void update(AppuserSoftwareBalance appuserSoftwareBalance) {
		this.getHibernateTemplate().update(appuserSoftwareBalance);
	}
	
	@SuppressWarnings("unchecked")
	public List<AppuserSoftwareBalance> findByExample(AppuserSoftwareBalance appuserSoftwareBalance) {
		return (List<AppuserSoftwareBalance>)this.getHibernateTemplate().findByExample(appuserSoftwareBalance);
	}
	
}

